package Day4231;

/**
 * @author: Li fei
 * @date: 2018-04-23
 * @time: 22:11
 */
public class SavingAccount extends Account {

    public SavingAccount() {
    }

    public SavingAccount(String idCard, double balance) {
        super(idCard, balance);

    }

    @Override
    public double getInterest() {
        return getBalance() * 0.0036;
    }
}
